Skip to content

[WIP] Qt6 migration#420

Merged
ghtmtt merged 16 commits intomasterfrom
qt6_migration
Mar 31, 2026
Merged

[WIP] Qt6 migration#420
ghtmtt merged 16 commits intomasterfrom
qt6_migration

Conversation

@ghtmtt
Copy link
Copy Markdown
Owner

@ghtmtt ghtmtt commented Mar 31, 2026

First commit that allows to use the plugin with both QGIS 3 and QGIS 4.

For sure there are more elegant ways to check the QGIS versions and load only what is needed, but QGIS 3 will become deprecated so I prefer to spend more time on QGIS 4.

Tested on QGIS 3.44 and QGIS 4 on my Debian machine:

  • plugin is loading without issues
  • plot interactivity is maintained
  • not checking if WebKit is installed in QGIS 3 (the behavior is not changed)
  • not checking if WebEngine is installed in QGIS 4

@bruno-portfolio the layout stuff is still to migrate! Given that the whole file is very different because of all the js and WebKit vs WebEngine stuff, I'm not sure if the best way is to create 2 different files and then depending on the QGIS version we can import one or the other.

@ghtmtt
Copy link
Copy Markdown
Owner Author

ghtmtt commented Mar 31, 2026

refer to #377

@ghtmtt
Copy link
Copy Markdown
Owner Author

ghtmtt commented Mar 31, 2026

tests are failing because of missing WebKit but it is a different issue, so I'll go for the merging this PR. So other PR will be smaller and related to other topics. What do you think @bruno-portfolio?

@bruno-portfolio
Copy link
Copy Markdown
Contributor

Yeah, that works !

@ghtmtt ghtmtt merged commit 28d6722 into master Mar 31, 2026
4 of 6 checks passed
@ghtmtt
Copy link
Copy Markdown
Owner Author

ghtmtt commented Mar 31, 2026

thanks you so much for this fix, it was a nice collaboration! If you have other ideas or fixes to do just contact me!

@bruno-portfolio
Copy link
Copy Markdown
Contributor

If there's anything else I can help you with, please let know.

I'm getting back to work tomorrow so I may take a while to respond but will do my best.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants